Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

386
Views
ERROR [ExceptionsHandler] Invalid `prisma.executeRaw()` invocation: ERROR [ExceptionsHandler] Invalid `prisma.executeRaw()` invocation:

my Stored procedure

CREATE OR REPLACE PROCEDURE public.transfer_transactions( initiated_by integer, OUT transaction integer) LANGUAGE 'plpgsql' AS $BODY$

    SELECT transaction_id INTO transaction
    FROM public."Transaction" 
    where initiated_by = initiated_by;

    SELECT transaction INTO transaction;

end; 

$BODY$;

Calling the sp from nestjs prisma client

async create(createTransactionDto: CreateTransactionDto) {

const [callGetSequenceBlock, queryString] = await this.prisma.$transaction([ this.prisma.$executeRawCALL transfer_transactions(${login_id},@transaction);, this.prisma.$queryRawSELECT @transaction FROM DUAL;, ]);

  return queryString;

}

error displayed while executing API

Invalid prisma.executeRaw() invocation:

Raw query failed. Code: 42703. Message: column "transaction_idout" does not exist

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I tried to use the query raw, its function

const result: procedureResult = await this.prisma .$queryRawCALL transfer_transactions( ${ct.initiated_by} );

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!